package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.OutcomeManage;
import cn.wolfcode.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OutcomeManageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(OutcomeManage entity);

    OutcomeManage selectByPrimaryKey(Long id);

    List<OutcomeManage> selectAll();

    int updateByPrimaryKey(OutcomeManage entity);

    Integer query4Count(QueryObject qo);

    List<?> query4List(QueryObject qo);

    //审核操作，就只是update状态
    void auditorById(@Param("auditorId") Long auditorId, @Param("outcomeId") Long outcomeId);
}